package com.demo.数据绑定底层演示;

import java.util.Date;

import org.springframework.beans.SimpleTypeConverter;

public class SimpleTypeConverterDemo {
	
	public static void main(String[] args) {
		SimpleTypeConverter typeConverter = new SimpleTypeConverter();
		Integer number = typeConverter.convertIfNecessary("13", int.class);
		Date date = typeConverter.convertIfNecessary("1999/03/04", Date.class);
		System.out.println(number);
		System.out.println(date);
	}

}
